// 基础路由
const baseRouter = [
  {
    path: "/home",
    component: resolve => require(["@/views/dashboard"], resolve),
    name: "home",
    meta: {
      title: "home",
      icon: "icon-ym icon-ym-nav-home",
      affix: true,
      zhTitle: "首页"
    }
  },
  {
    path: "/profile",
    component: resolve => require(["@/views/basic/profile"], resolve),
    name: "profile",
    meta: {
      title: "profile",
      affix: false,
      zhTitle: "个人信息",
      icon: "icon-ym icon-ym-user"
    }
  },
  //快速进入培训班
  {
    path: "/xy_ks_banjiguanli",
    component: resolve => require(["@/views/zazx/xy_ks_banjiguanli"], resolve),
    name: "banjiguanli",
    meta: {
      title: "xy_ks_banjiguanli",
      affix: false,
      zhTitle: "班级管理",
      icon: "icon-ym icon-ym-tree-department1"
    }
  },
  //快速添加课程
  {
    path: "/xy_ks_urriculum",
    component: resolve => require(["@/views/zazx/xy_ks_urriculum"], resolve),
    name: "xy_ks_urriculum",
    meta: {
      title: "xy_ks_urriculum",
      affix: false,
      zhTitle: "课程管理",
      icon: "icon-ym icon-ym-generator-menu"
    }
  },
  //快速进入题库
  {
    path: "/xy_ks_questionbank",
    component: resolve => require(["@/views/zazx/xy_ks_questionbank"], resolve),
    name: "xy_ks_questionbank",
    meta: {
      title: "xy_ks_questionbank",
      affix: false,
      zhTitle: "题库管理",
      icon: "icon-ym icon-ym-generator-documents"
    }
  },
  //快速进入试卷
  {
    path: "/xy_ks_examination_paper",
    component: resolve =>
      require(["@/views/zazx/xy_ks_examination_paper"], resolve),
    name: "xy_ks_examination_paper",
    meta: {
      title: "xy_ks_examination_paper",
      affix: false,
      zhTitle: "试卷管理",
      icon: "el-icon-document-copy"
    }
  },
  //快速进入证书管理
  {
    path: "/certificatemanagement",
    component: resolve =>
      require(["@/views/zazx/certificatemanagement"], resolve),
    name: "certificatemanagement",
    meta: {
      title: "certificatemanagement",
      affix: false,
      zhTitle: "证书管理",
      icon: "ym-custom ym-custom-book-multiple-variant"
    }
  },
  //快速进入公告
  {
    path: "/notice",
    component: resolve => require(["@/views/system/notice"], resolve),
    name: "notice",
    meta: {
      title: "notice",
      affix: false,
      zhTitle: "公告管理",
      icon: "icon-ym icon-ym-sysNotice"
    }
  },
  //问答管理
  {
    path: "/answer",
    component: resolve =>
      require(["@/views/zazx/xy_ks_question_answer"], resolve),
    meta: {
      title: "answer",
      affix: false,
      zhTitle: "问答管理",
      icon: "icon-ym icon-ym-header-IM"
    }
  },
  //订单管理
  {
    path: "/orderlist",
    component: resolve => require(["@/views/zazx/xy_ks_orderlist"], resolve),
    name: "orderlist",
    meta: {
      title: "orderlist",
      affix: false,
      zhTitle: "订单管理",
      icon: "zazx/xy_ks_orderlist"
    }
  },
  //成绩管理
  {
    path: "/result",
    component: resolve => require(["@/views/zazx/xy_ks_banjiguanli"], resolve),
    meta: {
      title: "xy_ks_banjiguanli",
      affix: false,
      zhTitle: "成绩管理",
      icon: "icon-ym icon-ym-tree-department1"
    }
  }
];
export default baseRouter;
